package com.foreverwin.jzymes.production.nc.service;

import com.foreverwin.jzymes.common.domain.NcData;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface ICarrierNCDisposeAdviceService {

    /**
     * 不良处置
     *
     * @param jsonMap
     */
    public void disposeCarrierNC( Map<String,Object> jsonMap, boolean autoPass );

    /**
     * 查询本体打开不良明细
     *
     * @param jsonMap
     * @return
     */
    public List<NcData> findCarrierOpenNcData(Map<String,Object> jsonMap );

    /**
     * 不良处置
     *
     * @param site
     * @param carrier
     * @param resource
     * @param ncDataList
     */
    public void disposeCarrierNC( String site, String carrier, String resource, List<NcData> ncDataList, Date updatedDateTime, boolean autoPass );
}
